﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="CurrencyCalculator.aspx.vb" Inherits="CurrencyConverter.CurrencyCalculator" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        Enter Your Existing Curency Amount:
        <asp:TextBox ID="tb_pound" runat="server"></asp:TextBox>
        <asp:RangeValidator ID="rv_pound" runat="server" ControlToValidate="tb_pound" 
            ErrorMessage="Only Numbers!!" Type="Double"></asp:RangeValidator>
    </p>
    <p>
        <asp:Button ID="btn_convert" runat="server" Text="Convert" />
    </p>
    <p>
        Your £ 
        <asp:Label ID="lbl_pound" runat="server"></asp:Label>
&nbsp;is worth $
        <asp:Label ID="lbl_dollar" runat="server"></asp:Label>
    </p>
</asp:Content>
